class TerminalColor:
    '''
        # comment at http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python
        To use code like this, you can do something like

        print bcolors.WARNING + "Warning: No active frommets remain. Continue?" 
                + bcolors.ENDC

        This will work on unix, linux including macOS, and window 
        (provided you enable ansi.sys). 
        There are ansi codes for setting the color, moving the cursor, and more.

        If you are going to get complicated with this (and it sounds like you are 
        if you are writing a game), you should look into the "curses" module, which 
        handles a lot of the complicated parts of this for you. The Python Curses HowTO 
        is a good introduction.

        If you are not using extended ASCII (i.e. not on a PC), you are stuck with the 
        ascii characters below 127, and '#' or '@' is probably your best bet for a block. 
        If you can ensure your terminal is using a IBM extended ascii character set, you 
        have many more options. Characters 176, 177, 178 and 219 are the "block characters".

        Some modern text-based programs, such as "Dwarf Fortress", emulate text mode in a graphical 
        mode, and use images of the classic PC font. You can find some of these bitmaps that you 
        can use on the Dwarf Fortress Wiki see (user-made tilesets).
    '''
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'

    def disable(self):
        self.HEADER = ''
        self.OKBLUE = ''
        self.OKGREEN = ''
        self.WARNING = ''
        self.FAIL = ''
        self.ENDC = ''
